@import '@/styles/variables.scss';
// 变量
@import '@/styles/element-variables-dark.scss';
@import '@/styles/element.scss';
@import '@/styles/keyframes.scss';

/*页面重置代码*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  // font-size: $font-size;
  // color: $-color-white;
  vertical-align: baseline;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica,
    Arial, PingFang SC, Hiragion Sans GB, Microsoft YaHei, sans-serif;
}

::-webkit-scrollbar {
  width: 0.01rem;
  opacity: 1;
  height: 0.2rem;
  -webkit-overflow-scrolling: touch !important;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0;
  -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
  opacity: 0;
}

::-webkit-scrollbar-thumb {
  width: 0.01rem;
  border-radius: 10px;
  background: rgba(136, 136, 136, 0.1);
  -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
}

canvas {
  outline: none;
}

em,
i {
  font-style: normal;
  overflow: hidden;
}

li {
  list-style: none;
  text-decoration: none;
}

img {
  border: 0;
  vertical-align: middle;
}

button,
input,
a,
select {
  cursor: pointer;
  outline: none;
}

::-webkit-input-placeholder {
  color: #fff;
}

:-ms-input-placeholder {
  color: #fff;
}

table,
tbody,
tr,
td {
  padding: 0;
  margin: 0;
  list-style: 7px !important;
}

/* 右侧两列表格 */
#dailyCount .el-table td,
.el-table th.is-leaf {
  border: 1px solid rgba(33, 112, 179, 0.7);
}

#dailyCount .el-table td:nth-child(1) {
  background: rgba(33, 112, 179, 0.7);
  color: #fff;
}

#signalStatus .el-table td,
.el-table th.is-leaf {
  border: 1px solid rgba(33, 112, 179, 0.7);
}

#signalStatus .el-table td:nth-child(1) {
  background: rgba(33, 112, 179, 0.7);
  color: #fff;
}

.el-popover {
  background: rgba(0, 0, 0, 0.3);
}

.el-checkbox__inner {
  background-color: transparent;
  border: 1px solid #b5e6ed;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #00cbff;
}

/* .el-collapse-item__header{
  background-color: ;
} */
/* flex 公共样式 */
.fl_row_start {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.flex {
  display: flex;
  align-items: center;
}

.item-width {
  width: 50%;
}

.flex-between {
  justify-content: space-between;
}

.flex-evenly {
  justify-content: space-evenly;
}

.flex-around {
  justify-content: space-around;
}

.fl_row_start1 {
  display: -webkit-box;
  display: -ms-flexbox;
  /* display: flex; */
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.fl_row_center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.fl_column_start {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.boxContainer::-webkit-scrollbar-thumb {
  width: 0.5rem;
  border-radius: 15px;
  background: rgba(39, 223, 168, 0.9);
  -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
}

.boxContainer::-webkit-scrollbar {
  width: 0.01rem;
  opacity: 1;
  height: 0.4rem;
  -webkit-overflow-scrolling: touch !important;
}

/* control界面 */
.el-collapse-item__header {
  background-color: rgba(37, 111, 168, 0.6);
  color: #fff;
  border: 1px solid #053469;
}

.el-collapse-item__wrap {
  background-color: transparent;
  // border-bottom:1px solid transparent;
}

.el-collapse-item__content {
  color: #fff;
  // border-bottom:1px solid transparent;
  padding-bottom: 14px;
}

.el-collapse {
  border-top: 1px solid transparent;
  // border-bottom:1px solid transparent;
}

.el-collapse-item__header {
  height: 35px;
  line-height: 35px;
  font-size: 16px;
  padding-left: 10px;
  margin: 6px;
}

/* 右侧两列表格 */
#dailyCount .el-table td,
.el-table th.is-leaf {
  border: 1px solid rgba(33, 112, 179, 0.7);
}

#dailyCount .el-table td:nth-child(1) {
  background: rgba(33, 112, 179, 0.7);
  color: #fff;
}

#signalStatus .el-table td,
.el-table th.is-leaf {
  border: 1px solid rgba(33, 112, 179, 0.7);
}

#signalStatus .el-table td:nth-child(1) {
  background: rgba(33, 112, 179, 0.7);
  color: #fff;
}

.el-popover {
  background: rgba(0, 0, 0, 0.3);
}

.el-checkbox__inner {
  background-color: transparent;
  border: 1px solid #b5e6ed;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #00cbff;
}

.cantainer .el-dialog {
  background-color: rgba($color: #000000, $alpha: 0);
  //background: url("~@/assets/wcgj/dlqt/p__登录背景.png") center no-repeat;
  background-size: 100% 100%;
}

.el-input__inner {
  background-color: #7595b300;
  height: 35px !important;
  border: 1px solid rgb(255, 255, 255);
}

.el-table__expanded-cell {
  background-color: transparent;
}

.task-case {
  .el-progress .el-progress-bar__outer {
    background-color: rgba(243, 243, 245, 0.1) !important;
    margin: 10px;
  }
}

.class1,
.class2,
.lass3,
.class4,
.class5,
.class6 {
  .el-table {
    background-color: blueviolet;
  }
}

// 样本管理项目
.el-button--primary {
  background-color: #208adb;
  border-color: #208adb;
}

.el-drawer {
  background: rgba(33, 40, 63, 0.8);
}

.el-dialog {
  width: 1113px;
  height: 664px;
  background: url('~@/assets/img/sampleManagement/newTask.png') no-repeat;
  background-size: 100% 104%;
  overflow: auto;
  overflow-x: hidden;

  .el-dialog__footer {
    text-align: center;
  }

  .el-dialog__header {
    display: flex;
    align-items: center;
    height: 70px;
    padding-bottom: 0;
    font-weight: normal;
    font-size: 20px;
    color: #ecf4ff;
    line-height: 20px;
    font-style: italic;
  }

  .el-dialog__body {
    box-sizing: border-box;
    padding: 25px;
    max-height: 500px;
    overflow: auto;
    overflow-x: hidden;
  }

  .el-dialog__headerbtn {
    top: 45px;
    right: 35px;
  }

  .el-dialog__headerbtn .el-dialog__close {
    color: #ecf4ff;
  }
}

/** 样本统计、模型训练都有用到公共样式 */
.informationStatistics {
  margin-top: 24px;
  width: 100%;
  flex-wrap: wrap;

  .num {
    width: 197px;
    height: 86px;
    background: url('~@/assets/img/sampleManagement/icon1.png') no-repeat;
    background-size: 100% !important;
    padding: 14px 18px;
    box-sizing: border-box;
  }

  .num:last-child {
    background: url('~@/assets/img/sampleManagement/icon2.png') no-repeat;
  }

  .footer {
    background: url('~@/assets/img/sampleManagement/icon3.png') no-repeat;
    background-size: 100% !important;
    width: 100%;
    padding: 14px 18px;
    height: 86px;
    color: #fff;
    box-sizing: border-box;
  }

  p.title {
    font-family: Alibaba PuHuiTi;
    font-size: 17px;
    color: #ffffff;
  }

  p.statistical_num {
    font-family: digiface;
    font-size: 26px;
    margin-top: 8px;
    letter-spacing: 5px;
    color: #fff;
    display: inline-block;
  }

  .circle {
    width: 192px;
    height: 180px;
    padding-top: 30px;
    padding-right: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-direction: column;
    background-size: 100% !important;
    background: url('~@/assets/img/sampleManagement/blue.png') no-repeat;

    p.title {
      font-size: 16px;
    }
  }

  .circle:nth-child(2) {
    background: url('~@/assets/img/sampleManagement/yellow.png') no-repeat;
  }

  .circle:nth-child(3) {
    background: url('~@/assets/img/sampleManagement/green.png') no-repeat;
  }

  .circle:nth-child(4) {
    background: url('~@/assets/img/sampleManagement/orange.png') no-repeat;
  }

  .yellow {
    background: url('~@/assets/img/sampleManagement/yellow.png') no-repeat;
  }

  .green {
    background: url('~@/assets/img/sampleManagement/green.png') no-repeat !important;
  }

  .orange {
    background: url('~@/assets/img/sampleManagement/orange.png') no-repeat !important;
  }
}

.subSmallPage {
  display: flex;
  justify-content: center;
}

.informationStatistics .single-height {
  height: 40vh;
  width: 100%;
  align-items: center;
  justify-content: space-around;
  display: flex;
  overflow: hidden;
  text-align: right;
}

.single-form-dom {
  width: 50%;
}

.resolution-ratio {
  .el-form-item__content {
    display: flex;

    span {
      margin-left: 10px;
    }
  }
}
